<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<?php
$message = $model->message;
if(!isset($message)){
	$message = "请输入您的用户名或电子邮箱地址。您会收到一封包含创建新密码链接的电子邮件";
}
?>
<p class="message register"><?php echo $message;?></p>

<?php $form=$this->beginWidget('CActiveForm', array(
)); ?>
<?php echo $form->errorSummary($model); ?>
<p><label><?php echo $form->label($model,'email'); ?><br />
<?php echo $form->textField($model,'email',array("class"=>"input")); ?></label>
</p>
<?php if($model->enableMail=="1"){?>
<p class="submit"><?php echo CHtml::submitButton('获取新密码',array("class"=>"button-primary")); ?></p>
<?php }?>
<?php $this->endWidget(); ?>

<?php
if($model->enabledReigster=="1"){
	echo CHtml::link("注册", Yii::app()->params['app']['registerUrl']);
}?> | <?php echo CHtml::link(Yii::app()->params['app']['name'], Yii::app()->params['app']['host']);?>